//产品信息模块API
import axios from '../axios'

//保存产品信息
export const save = (data) => {
  return axios({
    url: '/product/save',
    method: 'post',
    data: data
  })
};

//分页查询
export const findPage = (data) => {
  return axios({
    url: '/product/findPage',
    method: 'post',
    data: data
  })
};

//查询所有
export const findAll = () => {
  return axios({
    url: '/product/findAll',
    method: 'get'
  })
};
